package serivice.importwarehouse;

import java.util.List;

import persistence.importwarehouse.VotesImportDao;

import dao.VotesImport;

public class VotesImportDaoService implements VotesImportService {

	private VotesImportDao dao;

	@Override
	public void deleteVotesImport(Integer id) {
		dao.deleteVotesImport(id);
	}

	@Override
	public List<VotesImport> getAllImportWarehouse() {
		return dao.getAllImportWarehouse();
	}

	@Override
	public VotesImport getVotesImport(Integer id) {
		return dao.getVotesImport(id);
	}

	@Override
	public void insertVotesImport(VotesImport votesImport) {
		dao.insertVotesImport(votesImport);
	}

	@Override
	public void updateVotesImport(VotesImport votesImport) {
		dao.updateVotesImport(votesImport);
	}

}
